home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
program
/
eflibpt4.zip
/
DEMO
/
WINDOWS
/
SPEED.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-08-07
|
929b
|
24 lines
{ Borland Pascal Extended Function Library - EFLIB (C) Johan Larsson, 1996
Demonstration windows displayed in extremely high speed
EFLIB IS PROTECTED BY THE COPYRIGHT LAW AND MAY NOT BE COPIED, SOLD OR
MANIPULATED. FOR MORE INFORMATION, SEE PROGRAM MANUAL! THIS DEMONSTRAT-
ION PROGRAM MAY FREELY BE USED AND DISTRIBUTED. }
uses EFLIBDEF, EFLIBINI, EFLIBWIN, EFLIBSCR, EFLIBKBD;
var Window : WindowObjectPointerType;
begin
Randomize;
while not Keyboard.KeyPressed do begin
New (Window, InitializeWindow (
Random(Screen.Width div 3) + 1, Random(Screen.Height div 3) + 1,
Random(Screen.Width div 3) + Screen.Width div 2,
Random(Screen.Height div 3) + Screen.Height div 2,
'My window', ThinBorder, FALSE, FALSE));
Window^.Free;
end;
end.